home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 4 / MacMania 4.toast / / Tools&Utilities / suntar-205 / suntar's char table < prev    next >
Text File  |  1995-05-28  |  4KB  |  68 lines

  1. * place this file in the folder where suntar is, without
  2. * changing its name, and the character conversions defined
  3. * here will be performed  (I need not say that ASCII is not
  4. * a real standard and that codes beyond 127 mean different
  5. * things on different machines: you already know that...)
  6.  
  7. * the syntax is very simple (and inflexible: no spaces around
  8. * the = ): all characters following a '*' are comments and are
  9. * ignored (obviously unless the * is just after the =) , but here
  10. * is the declaration of accented vowels for the Mac character set
  11. 136=à 142=é 143=è 146=í 147=ì 151=ó 152=ò 156=ú 157=ù
  12. * (why translate Mac->Mac ? Because otherwise a Mac text
  13. * file is not recognized as ASCII and suntar does not
  14. * assign the correct icon to it)
  15. * or for letters used in Germany and Scandinavia and Spain
  16. * (made comments because the authors of suntar are Italian
  17. * and don't need them)
  18. *  138=ä 140=å 145=ë 149=ï 154=ö 159=ü 167=ß 190=æ 191=ø 207=œ
  19.  
  20. *  128=Ä 129=Å 130=Ç 131=É 132=Ñ 133=Ö 134=Ü 141=ç 174=Æ 175=Ø
  21. *  137=â 144=ê 148=î 150=ñ 153=ô 158=û 192=¿ 193=¡ 203=À 206=Œ 216=ÿ
  22. * or some symbols which sometimes occur in Italian text files:
  23. 161=° 169=© 199=« 200=» 201=… 202=  * the latter is the nonbreakable space
  24. 210=“ 211=” 212=‘ 213=’ 187=ª 188=º
  25. * other rare symbols:
  26. * 135=á 139=ã 155=õ 162=¢ 163=£ 164=§ 170=™ 196=ƒ 204=à205=Õ
  27.  
  28. * if, on the other hand, you happen to use a lot of files created
  29. * on DOS machines (ugh... somebody should forbid to sell such
  30. * ugly, unfriendly and obsolete things !) then delete or comment
  31. * the previous lines and uncomment the following:
  32.  
  33. * 128=Ç 129=ü 130=é 131=â 132=ä 133=à 134=å 135=ç 136=ê 137=ë
  34. * 138=è 139=ï 140=î 141=ì 142=Ä 143=Å 144=É 145=æ 146=Æ 147=ô
  35. * 148=ö 149=ò 150=û 151=ù 152=ÿ 153=Ö 154=Ü 155=ø 156=£ 157=Ø
  36. * 159=ƒ 160=á 161=í 162=ó 163=ú 164=ñ 165=Ñ 166=ª 167=º 168=¿
  37. * 173=¡ 174=« 175=» 225=ß 241=± 246=÷ 248=°
  38. * 26=  * this has a special meaning: without it, suntar converts
  39.        * UNIX-like text and does not convert MS-DOS-like text. With
  40.        * it, it's the opposite. That's because there is only one
  41.        * char table file and it's meaningless to apply it to both
  42.        * kinds of text
  43. * (really MS-DOS uses a number of different character sets, not only one !
  44. * that's just one of the innumerable sources of confusion in MS-DOS;
  45. * the previous characters are common to almost all sets)
  46.  
  47. * Or if you have files using the ISO 8859/1 Latin 1 character set (some
  48. * UNIX machines use it, and Windows 3.1 uses it when it does not follow
  49. * the DOS encoding) here are the definitions to uncomment:
  50.  
  51. * 131=ƒ 140=Œ 156=œ *Windows only
  52. * 161=¡ 162=¢ 163=£ 167=§ 169=© 170=ª 171=« 176=° 177=± 186=º
  53. * 187=» 191=¿ 192=À 195=à196=Ä 197=Å 198=Æ 199=Ç 201=É 209=Ñ
  54. * 213=Õ 214=Ö 216=Ø 220=Ü 223=ß 224=à 225=á 226=â 227=ã 228=ä
  55. * 229=å 230=æ 231=ç 232=è 233=é 234=ê 235=ë 236=ì 237=í 238=î
  56. * 239=ï 241=ñ 242=ò 243=ó 244=ô 245=õ 246=ö 247=÷ 248=ø 249=ù
  57. * 250=ú 251=û 252=ü 255=ÿ
  58.  
  59. * Note that everything not declared remains unchanged. Probably you
  60. * will have to configure this file in order to translate every character
  61. * that you use, but the way in which you do that depends on the
  62. * language you speak, the fonts you use and on your printer...
  63. * If you happen to use files coming from multiple sources, it's better
  64. * NOT to let suntar perform its conversions and convert later with
  65. * another application: in most cases a conversion can't be undone and
  66. * if it was the wrong conversion you've lost data (the Mac-Mac
  67. * conversion is not really a conversion and is not harmful, and that's
  68. * why it's the default).